﻿using System;
using System.IO;

namespace OpenLS.Spreadsheet.Formats.Biff.Records
{
    class HorzBrk
    {
        private ushort row;
        private ushort colStart;
        private ushort colEnd;

        public void Read(BinaryReader reader)
        {
            this.row = reader.ReadUInt16();
            this.colStart = reader.ReadUInt16();
            this.colEnd = reader.ReadUInt16();
        }

        public void Write(BinaryWriter writer)
        {
            writer.Write(row);
            writer.Write(colStart);
            writer.Write(colEnd);
        }
    }
}